package com.chen.authority.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.authority.common.model.PageQo;
import com.chen.authority.common.response.Response;
import com.chen.authority.model.dto.NoticeDto;
import com.chen.authority.model.po.NoticePo;
import com.chen.authority.model.qo.NoticeQo;
import com.chen.authority.model.vo.NoticeVo;

/**
 * 通知公告Service接口
 *
 * @author chengy
 * @date 2022-08-17
 */
public interface NoticeService extends IService<NoticePo> {

    Response addOrUpdateNotice(Integer id, NoticeDto dto);

    Page<NoticeVo> pageQueryNoticeList(PageQo pageQo, NoticeQo noticeQo);

}
